package com.jandan.ui.server;

import java.util.List;

import org.springframework.beans.factory.BeanFactory;
import org.springframework.beans.factory.xml.XmlBeanFactory;
import org.springframework.core.io.ClassPathResource;

import com.google.gwt.user.server.rpc.RemoteServiceServlet;
import com.jandan.logic.JWordzFacade;
import com.jandan.ui.client.service.JandanContentService;
import com.jandan.ui.model.Article;

public class JandanContentServiceImpl implements JandanContentService {
	private JWordzFacade jwordz;
	

	public void setJwordz(JWordzFacade jwordz) {
		this.jwordz = jwordz;
	}

	public List<Article> getLatestJandanArticleList() {
		// TODO Auto-generated method stub
		return jwordz.getLatestJandanArticleList(10);
	}
}
